<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>页面一</title>
	</head>
	<body>
		<button type="button" onclick="road()" >刷新</button>
		<button type="button" onclick="tiao2()"> 跳转到页面2</button>
	</body>
	<script type="text/javascript">
		function road(){
			location.reload()
		}
		function tiao2(){
			location.href='index2.html';
		}
	</script>
</html>
